|
DX11 MULTIPLY MATRIX
Multiplies the provided matrix's.
If an output matrix is provided, the resulting matrix of the multiplication is stored to that and it is also returned; if the output parameter
is omitted, a temporary matrix is created and returned.
Take note that temporary matrixs are automatically deleted at the next call to DX11 SYNC. If you will need the resulting
matrix for longer than that, you should use DX11 CREATE MATRIX to create one and then use that as the output parameter to this function.
Return Dword = DX11 MULTIPLY MATRIX(matrixA, matrixB, [resultMatrix])
matrixA Dword The first matrix to be multiplied with the other.
matrixB Dword The second matrix to be multiplied with the first.
[Optional] resultMatrix Dword The resulting matrix will be stored here; this may be the same as one of the source matrix if you like. Omit to create and return a temporary matrix holding the result.
The resultMatrix, if one was provided, or the temporary matrix created to hold the result otherwise. This approach allows you to chain multiple matrix / matrix math functions.
MATH Functions Menu
DX11 Function Categories
|